<script setup>
import MessageCallback from './components/MessageCallback.vue'
</script>

<template>
  <div class="app-container">
    <header class="app-header">
      <h1>微信消息管理系统</h1>
      <p>前端与后端接口集成演示</p>
    </header>
    <main class="app-main">
      <MessageCallback />
    </main>
    <footer class="app-footer">
      <p>&copy; 2025 GeWechat 系统</p>
    </footer>
  </div>
</template>

<style scoped>
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-header {
  background-color: #2c3e50;
  color: white;
  padding: 20px;
  text-align: center;
}

.app-header h1 {
  margin: 0;
  font-size: 24px;
}

.app-header p {
  margin: 10px 0 0 0;
  font-size: 14px;
  opacity: 0.8;
}

.app-main {
  flex: 1;
  padding: 20px;
}

.app-footer {
  background-color: #34495e;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}
</style>
